计算机与现代化 ›› 2010, Vol. 1 ›› Issue (11): 152-155.doi: 10.3969/j.issn.1006-2475.2010.11.043

• 应用与开发 • 上一篇    下一篇

基于COM/DCOM构建类似MVC程序框架的实现

方卫青   

  1. 常熟市第二人民医院信息中心,江苏 常熟 215500
  • 收稿日期:2010-06-07 修回日期:1900-01-01 出版日期:2010-11-25 发布日期:2010-11-25

Implementation of Similar MVC Program Frame Based on COM/DCOM

FANG Wei-qing   

  1. Changshu City NO.2 People’s Hospital Computer Information Center, Changshu 215500, China
  • Received:2010-06-07 Revised:1900-01-01 Online:2010-11-25 Published:2010-11-25

摘要: 摘要:当采用基于网络的客户/服务器编程模式时,采用传统开发模式往往使得程序缺乏灵活性和可扩充性,若采用COM/DCOM组件来构建程序,并且设计成具有类似MVC结构,那么将会使程序具有优良的结构,增强灵活性和可扩充性,提高开发效率。本文在Delphi下结合COM/DCOM组件实现具有类似MVC结构的三层程序框架。

关键词: MVC, COM/DCOM, Delphi, 框架, DLL

Abstract: Based on network client/server program pattern, the program lack of flexibility and scalability under traditional design pattern. By designing a pattern similar to MVC based on COM/DCOM, it can make the system have fine structure, increasing flexibility and scalability, and improve programming efficiency. This paper uses Delphi RAD tool to implement a similar MVC 3-tires program frame combining with COM/DCOM component. 

Key words: MVC, COM/DCOM, Delphi, program frame, DLL

中图分类号: